<template>
  <div class="relative w-full">
    <img :src="`${baseUrl}${imgUrl}`" class="w-full" alt="">
    <div class="absolute left-10% top-20% text-#333333 font-500">
      <span>{{ title }}</span>
    </div>
  </div>
</template>

<script lang="ts" setup>
interface Props {
  imgUrl: string
  title: string
}
withDefaults(defineProps<Props>(), {
  imgUrl: '',
  title: '',
})
const baseUrl = import.meta.env.VITE_PUBLIC_PATH
</script>

<style lang="less" scoped></style>
